﻿using System;
using System.Collections.Generic;
using System.Text;

namespace com.hetaoos.FetionSDK.Event
{
    public class SDK_ErrorEventArgs : EventArgs
    {
        private ErrorType et;

        public ErrorType ErrorType
        {
            get { return et; }
        }
        private Exception message;

        public Exception Message
        {
            get { return message; }
        }
        public SDK_ErrorEventArgs(ErrorType et, Exception Message)
        {
            this.et = et;
            this.message = Message;
        }

        public SDK_ErrorEventArgs(ErrorType et, string Message)
        {
            this.et = et;
            this.message = new Exception(Message);
        }
    }
}
